<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018/12/10
  Time: 16:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <table>
        <tr>
            <th>编号</th><th>用户名</th><th>密码</th><th>年龄</th>
        </tr>
        <s:iterator value="#attr.list" var="p">
            <tr>
                <td><s:property value="#p.id"/> </td>
                <td><s:property value="#p.username"/></td>
                <td><s:property value="#p.userpassword"/></td>
                <td><s:property value="#p.age"/></td>
            </tr>
        </s:iterator>
    </table>
</body>
</html>
